<?php

use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class OutGoodsTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::create('out_goods', function (Blueprint $table) {
            $table->bigIncrements('id');
            $table->string('order_no', 50)->comment('订单编号');
            $table->string('imei',50)->comment('设备编号');
            $table->tinyInteger('No')->comment('货道编号');
            $table->tinyInteger('times')->default(0)->comment('出货次数');
            $table->tinyInteger('fregith_type')->comment('货道类型');
            $table->timestamps();
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::dropIfExists('out_goods');
    }
}
